package Server;


public abstract class Cibo {

	public Cibo(){
		
	}
	
	/**
	 * @uml.property  name="energiaMax"
	 */
	private int energiaMax;

	/**
	 * Getter of the property <tt>energiaMax</tt>
	 * @return  Returns the energiaMax.
	 * @uml.property  name="energiaMax"
	 */
	public int getEnergiaMax() {
		return energiaMax;
	}

	/**
	 * Setter of the property <tt>energiaMax</tt>
	 * @param energiaMax  The energiaMax to set.
	 * @uml.property  name="energiaMax"
	 */
	public void setEnergiaMax(int energiaMax) {
		this.energiaMax = energiaMax;
	}

		
		/**
		 */
		public void aggiornaEnergia(){
		}

			
			/**
			 */
			public void consumaEnergia(){
			}


			/** 
			 * @uml.property name="casellaConCibo"
			 * @uml.associationEnd multiplicity="(1 1)" inverse="cibo:Server.CasellaConCibo"
			 * @uml.association name="Contiene"
			 */
			private CasellaConCibo casellaConCibo = new Server.CasellaConCibo();

			/** 
			 * Getter of the property <tt>casellaConCibo</tt>
			 * @return  Returns the casellaConCibo.
			 * @uml.property  name="casellaConCibo"
			 */
			public CasellaConCibo getCasellaConCibo() {
				return casellaConCibo;
			}

			/** 
			 * Setter of the property <tt>casellaConCibo</tt>
			 * @param casellaConCibo  The casellaConCibo to set.
			 * @uml.property  name="casellaConCibo"
			 */
			public void setCasellaConCibo(CasellaConCibo casellaConCibo) {
				this.casellaConCibo = casellaConCibo;
			}

}
